vx.module("mapp", []);

vx.module("mapp").controller("mainController", function ($scope, $http) {
    $scope.request = function () {
        $http({
            url: 'token.do'
        })
    }
})

vx.module("mapp").filter('masaike', function () {
    return function (input) {
        console.log(input)
        return "SB"
    }
})

vx.module("mapp").service('NativeCall', function () {
    return {
        msg: function (string) {

        },
        camera: function () {

        }
    }
})

vx.module("mapp").directive('panel', function () {
    return {
        templateUrl: 'panel.html',
        compile: function () {
            return this.link;
        },
        link: function () {
            console.log(212)
        }
    }
})